////////////////////////////////////////////////////////////////////////////////
//
// Licensed under the MIT License
//
// Copyright (c) 2010 Chris Colinsky
// All Rights Reserved
//
// version	0.5
// http://code.google.com/p/sugarcookie/
// http://code.google.com/p/sugarcookie/wiki/License
//
////////////////////////////////////////////////////////////////////////////////

package sugarcookie.utils {
	import sugarcookie.notifications.Notification;

	/**
	 * The interface that must be implemented by all observers of an
	 * Observable object.
	 */
	public interface IObserver {
		/**
		 * Invoked automatically by an observer object when it changes.
		 *
		 * @param     o     The observer (an instance of Observable).
		 * @param     infoObj     An arbitrary data object sent by the observed object.
		 **/
		function update(notification:Notification):void;
	}
}
